Skip to main content

All Questions

0votes
0answers
31views

Testing Desktop Applications

Let's assume we have a desktop application that implements the CreateMyFile function and this function is tested via unit tests. On the other hand, we have a Make file menu item that, when selected, ...
Joe J's user avatar
0votes
0answers
42views

Unit integration tests, system tests with node js, express, javascript

I am very new with testing , I have built a web app with node js, ejs, express . The web app has 10 different ejs files and for each file, there is a script linked to a .js file. I need to test the 10 ...
user15237776's user avatar
1vote
3answers
329views

Answer not accepted for codewards --- but my output matches their desired output

This is the kata: From https://www.codewars.com/kata/5264d2b162488dc400000001/train/python Write a function that takes in a string of one or more words, and returns the same string, but with all five ...
Jesse's user avatar
0votes
1answer
33views

How to determinate the scope of a test

How i can determinate what is the best way of test a feature: by example I have a email validation that is made by a function that returns an object with errors, i should test this as a unit test ...
cristian camilo cedeño gallego's user avatar
2votes
1answer
301views

How to test if my application method handles HTTP status 404 of a REST API without actually calling that REST API

I am currently trying to automate some of the testing for my application using JUnit. My application has a method which calls a 3rd party REST API. I need to check if that method is handling HTTP ...
user2869520's user avatar
1vote
1answer
137views

Is naming test classes with user story id a bad thing?

I worked in the past in a team where we used to prefix our automated (unit, integration, etc) tests class names with the user story id. For example, "US1234NewFeature", where "US" means "user story", ...
Igor Kondrasovas's user avatar
-2votes
1answer
74views

While using TestNG if we define WebDriver driver; globally then without creating object of that class how we are able to use driver under a method?

The code is working fine but why? without creating object of class Testing123 How we are able to access that driver? public class Testing123 { WebDriver driver ; @Test public void test1()...
Akshay Soni's user avatar
1vote
3answers
6kviews

What are some ways to automatically test Swagger endpoints? [duplicate]

Building a C# .NET Core API, I want to automatically test the endpoints in the documentation that is generated by Swagger as part of my build. Are there some prebuilt packages or tools I can use to ...
John Fisher's user avatar
3votes
2answers
6kviews

Is it possible to merge test coverage on sonarqube level?

For Java I know the possibility to merge test coverage results on build level by specifying the same path of JaCoCo reports (see SonarQube: Multiple unit test and code coverage result files). This ...
Seweryn Habdank-Wojewódzki's user avatar
0votes
2answers
387views

Unit test definition - Scope and Mocking external dependencies

I have a confusion regrading the definition of unit test. I think unit tests is about mocking external dependencies, the scope can be large like IT test (more than one class). In this way of thinking, ...
T.S's user avatar
  • 951
2votes
1answer
339views

Difference between StartupCheckStrategy and WaitStrategy in test containers

Recently we had issue with starting time of some of our test container: Slow computer just couldn't start container withing hardcoded 30 seconds. Issue was resolved by moving all our checks to ...
Taras Danylchuk's user avatar
0votes
1answer
285views

What's the difference between keywords 'test' and 'it'

In a few different testing frameworks I've seen some people using keyword 'test' and some using 'it' when creating tests, while both seem to be valid keywords and don't seem to change the test at all. ...
santekiv's user avatar
8votes
2answers
3kviews

Integration tests, but how much? [closed]

A recent debate within my team made me wonder. The basic topic is that how much and what shall we cover with functional/integration tests (sure, they are not the same but the example is dummy where it ...
rlegendi's user avatar
3votes
1answer
75views

Regression testing between test and dev environments for 1000s or URLs?

I need to provide assurance over changes made to a site with 1000s of URLs. What is the easiest way to do regression testing between a live and dev environment with the following structure? e.g. ...
James's user avatar
  • 1,343
0votes
2answers
89views

Test driving an FTP client with network I/O, does this fall under integration testing or functional testing?

I'm new to TDD and it's my first time to test drive a real-world project. First, I wanted to test drive an FTP client so I did. Since the FTP client naturally deals with network I/O, in my opinion, ...
Xegara's user avatar

153050per page
close